package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城售后记录响应模型")
public class MallRefundsVO extends BaseVO implements Serializable {
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("订单ID")
    private Long orderId;
    @ApiModelProperty("审核人ID")
    private Long adminId;
    @ApiModelProperty("微信订单号")
    private String wxOrderNum;
    @ApiModelProperty("订单类别 1书籍 2周边 3积分 4购物车")
    private Integer orderType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("售后完成时间（也是退款时间）")
    private Date refundDate;
    @ApiModelProperty("售后类型 0退货 1换货")
    private Integer goodsServiceType;
    @ApiModelProperty("驳回原因")
    private String overruledReason;
    @ApiModelProperty("售后原因")
    private String refundReason;
    @ApiModelProperty("问题图片")
    private String problemPicture;
    @ApiModelProperty("售后状态 0:待审批 1:待寄回 2:运输中 3:已完成 4:已驳回")
    private Integer status;
    @ApiModelProperty("物流单号")
    private String freeNum;
    @ApiModelProperty("物流单图片")
    private String freePicture;
}
